'''
Created on 2011-5-19

@author: lchengh2
'''

import unittest
import os
from myhomework.filemanager.deploymentsetting import DeploymentSetting

class  DeploymentSettingTestCase(unittest.TestCase):

    def test_get_root_path(self):
        
        ds = DeploymentSetting.load_setting()
        self.assertEqual(ds.get_root_path(),'myhomework/all_homework_submited')
        self.assertEqual(ds.get_src_path(),'myhomework/all_src_file') 
#        print(os.getcwd())
#        print(ds.get_root_path())
#        print(ds.get_src_path())